package com.site.wisdom_construction.entity.personnelModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-07 
 */
@ApiModel (value ="劳务队黑名单表实体类",description = "BlacklistLabour")
public class BlacklistLabour {
	/**
	 * 劳务队黑名单表id
	 */
   	@ApiModelProperty(value = "劳务队黑名单表id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
   	@ApiModelProperty(value = "项目id", name = "projectId")
	private Integer projectId;

	/**
	 * 劳务队名称
	 */
   	@ApiModelProperty(value = "劳务队名称", name = "subcontractorsName")
	private String subcontractorsName;

	/**
	 * 列入黑名单日期
	 */
   	@ApiModelProperty(value = "列入黑名单日期", name = "blacklistDate")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date blacklistDate;

	/**
	 * 登记人
	 */
   	@ApiModelProperty(value = "登记人", name = "registrant")
	private String registrant;

	/**
	 * 登记日期
	 */
   	@ApiModelProperty(value = "登记日期", name = "registrantDate")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date registrantDate;

	/**
	 * 失信行为描述
	 */
   	@ApiModelProperty(value = "失信行为描述", name = "blacklistRemake")
	private String blacklistRemake;

	/**
	 * 附件
	 */
   	@ApiModelProperty(value = "附件", name = "accessory")
	private String accessory;

	public BlacklistLabour(){ super(); }

	public BlacklistLabour(Integer id, Integer projectId, String subcontractorsName, Date blacklistDate, String registrant, Date registrantDate, String blacklistRemake, String accessory) {
		this.id = id;
		this.projectId = projectId;
		this.subcontractorsName = subcontractorsName;
		this.blacklistDate = blacklistDate;
		this.registrant = registrant;
		this.registrantDate = registrantDate;
		this.blacklistRemake = blacklistRemake;
		this.accessory = accessory;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return this.projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getSubcontractorsName() {
		return this.subcontractorsName;
	}

	public void setSubcontractorsName(String subcontractorsName) {
		this.subcontractorsName = subcontractorsName;
	}

	public Date getBlacklistDate() {
		return this.blacklistDate;
	}

	public void setBlacklistDate(Date blacklistDate) {
		this.blacklistDate = blacklistDate;
	}

	public String getRegistrant() {
		return this.registrant;
	}

	public void setRegistrant(String registrant) {
		this.registrant = registrant;
	}

	public Date getRegistrantDate() {
		return this.registrantDate;
	}

	public void setRegistrantDate(Date registrantDate) {
		this.registrantDate = registrantDate;
	}

	public String getBlacklistRemake() {
		return this.blacklistRemake;
	}

	public void setBlacklistRemake(String blacklistRemake) {
		this.blacklistRemake = blacklistRemake;
	}

	public String getAccessory() {
		return this.accessory;
	}

	public void setAccessory(String accessory) {
		this.accessory = accessory;
	}

	@Override
	public String toString() {
		return "{" +
				"id='" + id + '\'' +
				", projectId='" + projectId + '\'' +
				", subcontractorsName='" + subcontractorsName + '\'' +
				", blacklistDate='" + blacklistDate + '\'' +
				", registrant='" + registrant + '\'' +
				", registrantDate='" + registrantDate + '\'' +
				", blacklistRemake='" + blacklistRemake + '\'' +
				", accessory='" + accessory + '\'' +
				'}';
	}
}
